home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / virus / vshb200b.zip / VSHIELD.TXT < prev    next >
Text File  |  1994-03-16  |  46KB  |  1,234 lines

  1.            VShield Reference   Copyright 1994 McAfee Inc.     Page 1
  2.  
  3.           VSHIELD REFERENCE
  4.           
  5.           VirusScan's VShield is a memory-resident program
  6.           that helps to prevent virus infection. It
  7.           complements the Scan virus detection program as
  8.           part of your computer security plan. While Scan
  9.           checks areas on disks for viruses, the VShield
  10.           program checks programs as they load into your
  11.           computer's memory. This ensures that you don't
  12.           "catch" any new viruses while you're working on
  13.           your computer.
  14.           
  15.           VShield does this by remaining in memory and:
  16.           
  17.           * Checking master boot records (MBRs), boot
  18.           sectors, system files, and itself for viruses when
  19.           you turn on or reset ([Ctrl]+[Alt]+[Del]) your
  20.           machine.
  21.           
  22.           * Checking program files for viruses as your
  23.           computer executes them.
  24.           
  25.           * Checking files for viruses as you copy them
  26.           (optional).
  27.           
  28.           * Checking for viruses whenever your computer
  29.           accesses a disk (optional).
  30.           
  31.           The installation program automatically modifies
  32.           your AUTOEXEC.BAT file so that VShield loads into
  33.           memory every time you turn on your computer.
  34.           
  35.           If VShield finds a virus, you will see a message
  36.           like:
  37.           
  38.              Found the Jerusalem Virus
  39.           
  40.           If that happens, don't panic. Turn to Chapter 4 to
  41.           find out how to use the Scan program to get rid of
  42.           the virus. If you need additional help, contact
  43.           McAfee.
  44.           
  45.           There is one way to infect your computer that
  46.           VShield cannot prevent only you can. Never
  47.           accidentally start your computer from an unknown
  48.           diskette. That's how 80% of all viruses are
  49.           passed! Always make sure your diskette drives are
  50.           empty before you turn your computer on.
  51.           
  52.           VShield runs under DOS, Windows, and OS/2 Virtual
  53.           DOS Machine and WIN-OS/2 sessions. The program
  54.           file is VSHIELD.EXE. The file called VSHWIN.EXE
  55.            VShield Reference   Copyright 1994 McAfee Inc.     Page 2
  56.  
  57.           allows VShield to display messages under Windows,
  58.           and is added to your WIN.INI file automatically
  59.           when you install VShield. If you need to conserve
  60.           memory on your system, you can use VshieldCRC, a
  61.           version of VShield that offers fewer protection
  62.           options but requires less memory. The program file
  63.           is VSHLDCRC.EXE.
  64.           
  65.           A companion program called CheckVshield checks whether
  66.           either VShield or VshieldCRC is loaded in memory.
  67.           The program file is CHKVSHLD.EXE. CheckVshield is
  68.           especially useful for network administrators who
  69.           want to ensure that everyone who logs on to the
  70.           network is running VShield. All of these related
  71.           programs are included in your VirusScan disk and
  72.           described in this chapter.
  73.           
  74.           DO YOU NEED TO READ THIS DOCUMENT?
  75.           
  76.           Many users will not need the VShield options
  77.           described in this chapter. We have designed
  78.           VShield so that basic operation achieved by simply
  79.           installing it in memory as described in Chapter
  80.           2 provides a high degree of protection for most
  81.           users. The options here offer additional power and
  82.           control for virus detection, and are most useful
  83.           in vulnerable or memory-scarce environments, and
  84.           to network administrators and information systems
  85.           staff.
  86.           
  87.           SYSTEM REQUIREMENTS AND PERFORMANCE
  88.           
  89.           VShield is a terminate-and-stay-resident (TSR)
  90.           program, which remains in memory while you run
  91.           other programs. VShield tries to optimize memory
  92.           usage and minimize conflicts with other TSRs. By
  93.           default, VShield tries to conserve as much
  94.           conventional memory as possible.
  95.           
  96.           If you have only 640Kb or less memory in your
  97.           system, VShield requires about 67Kb of memory. By
  98.           using the /SWAP option, you can reduce this to
  99.           only 7Kb of conventional memory, although this
  100.           will decrease VShield's speed.
  101.           
  102.           If you have more than 640Kb, VShield tries to load
  103.           as much as possible into upper memory: first into
  104.           expanded memory (EMS), into extended memory (XMS),
  105.           then into upper memory blocks (640Kb to 1024Kb, or
  106.           UMB). If you have sufficient high memory
  107.           available, VShield or VshieldCRC use no conventional
  108.           memory. You'll see a message after loading that
  109.           describes where VShield loaded into memory and how
  110.            VShield Reference   Copyright 1994 McAfee Inc.     Page 3
  111.  
  112.           much memory it uses. You can control how VShield
  113.           loads by using the /NOUMB, /NOEMS, and /NOXMS
  114.           options, as described later in this chapter.
  115.           
  116.           VShield might require slightly more memory as the
  117.           SCAN.DAT file grows to include more viruses.
  118.           
  119.           VShield adds a small amount of time to program
  120.           loads and reboots. Performance will vary,
  121.           depending on your system. The /SWAP option adds
  122.           more time, because VShield must reload from disk
  123.           to check files. VshieldCRC adds an average of one
  124.           second to each program load.
  125.           
  126.           Once programs have been loaded, VShield does not
  127.           degrade the performance of your system. Programs
  128.           that load other files may run more slowly when you
  129.           use the /FILEACCESS or /BOOTACCESS options,
  130.           because these options cause VShield to scan files
  131.           whenever they are accessed, not just when they are
  132.           executed.
  133.           
  134.           FOUR LEVELS OF PROTECTION
  135.           
  136.           You can think of VShield as providing four levels
  137.           of protection. You can use VShield's options to
  138.           customize it for the level of protection you need.
  139.           Level II meets the protection needs of most
  140.           systems.
  141.           
  142.           Level I protection is appropriate for users who
  143.           have very little memory available on their
  144.           systems. It provides only minimal protection.
  145.           
  146.           For Level I protection, first use Scan with the
  147.           /AF or /AV option to add validation codes. Then,
  148.           install VshieldCRC instead of VShield. VshieldCRC can
  149.           inform you that a file has not been certified, a
  150.           file has been modified, a file size has changed,
  151.           or a file has not been added to the validation
  152.           file. VshieldCRC will not prevent infection, nor
  153.           will it tell you when you have a known virus, but
  154.           it allows you to prevent modified files from
  155.           running. Use Scan instead to detect viruses, as
  156.           described in Chapters 3 and 4. See "Using
  157.           VShield."
  158.           
  159.           Level II protection is appropriate for most users.
  160.           It will protect you from most viruses whether you
  161.           have run Scan or not.
  162.           
  163.           For Level II protection, just install VShield
  164.           according to the installation instructions. When
  165.            VShield Reference   Copyright 1994 McAfee Inc.     Page 4
  166.  
  167.           loading, VShield checks memory automatically for
  168.           viruses. Once resident in memory, VShield checks
  169.           master boot records (MBRs), boot sectors, and
  170.           program files (when executed) for virus
  171.           signatures.
  172.           
  173.           Level III protection is appropriate for computers
  174.           that are used by many people, as in an open-use
  175.           computer lab, or onto which you frequently load
  176.           files from public sources. Level III protection
  177.           checks for both validation codes and virus
  178.           signatures, incorporating both Level I and Level
  179.           II protection.
  180.           
  181.           For Level III protection, first use Scan with the
  182.           /AF {filename} option, then use VShield with the
  183.           /CF {filename} option. The /AF option logs
  184.           recovery and validation data for program files,
  185.           the boot sector, and the master boot record (MBR)
  186.           to a file you specify. The /CF option tells
  187.           VShield to check against that log. See Chapter 4,
  188.           "VirusScan reference," for instructions on using
  189.           Scan.
  190.           
  191.           Level IV protection is for environments where
  192.           security is extremely important and new software
  193.           is seldom introduced. It combines Level III
  194.           protection with access control, specifying that
  195.           only programs known to be safe can be run.
  196.           
  197.           For Level IV protection, run VShield with the
  198.           /CERTIFY option.
  199.           
  200.           VShield has many optional features that you might
  201.           use at any protection level.
  202.           
  203.           RUNNING VSHIELD
  204.           
  205.           VShield checks programs, the master boot record
  206.           (MBR), boot sector, system files, and itself for
  207.           virus signatures, the pattern of code unique to
  208.           each virus. If VShield finds an infection, it
  209.           prevents programs from running. It also prevents
  210.           warm restarts ([Ctrl]+[Alt]+[Del]) from infected
  211.           disks.
  212.           
  213.           You can use options to control and fine-tune the
  214.           scope, validation parameters, and operation of the
  215.           VShield's checks. To use VShield with options, use
  216.           the following syntax:
  217.           
  218.           vshield [options]
  219.           
  220.            VShield Reference   Copyright 1994 McAfee Inc.     Page 5
  221.  
  222.           [options] indicates one or more options described
  223.           in the table in the next section.
  224.           
  225.           Don't enter the square braces, which indicate that
  226.           what's within them is optional.
  227.           
  228.           Because systems and environments differ, VShield
  229.           gives you a choice of options. Consider the
  230.           mixture of safety, performance, and maintenance
  231.           that meets your needs, then choose the combination
  232.           of options that works best.
  233.           
  234.           DOS
  235.           
  236.           If you followed the installation instructions in
  237.           Chapter 2, VShield begins working for you as soon
  238.           as you install it, protecting the "sterile field"
  239.           that the installation procedure creates. VShield
  240.           is automatically added to your AUTOEXEC.BAT file,
  241.           so it is activated every time you turn on your
  242.           computer.
  243.           
  244.           The install program places VShield at the end of
  245.           AUTOEXEC.BAT. In most cases this is OK. However,
  246.           you should verify this by inspecting your
  247.           AUTOEXEC.BAT file after you install VShield.
  248.           
  249.           To do so, use a text editor to examine your
  250.           AUTOEXEC.BAT and follow these steps. If you need
  251.           help with this procedure, see your DOS
  252.           documentation or contact McAfee.
  253.           
  254.           1 Check the placement of the VShield command line
  255.           in the AUTOEXEC.BAT file.
  256.           
  257.           * VShield must be run before any menu programs,
  258.           such as MS-DOS's DOSSHELL or Norton Commander, or
  259.           it will not be loaded.
  260.           
  261.           * If AUTOEXEC.BAT loads any network drivers,
  262.           keyboard drivers, disk caching programs, drive
  263.           compression programs, or custom disk drivers,
  264.           VShield must be run both before and after them.
  265.           These kinds of programs disable VShield. The
  266.           second time VShield is loaded, use only the
  267.           /RECONNECT option, as described later in this
  268.           chapter.
  269.           
  270.           2 If necessary, move the line that loads VShield.
  271.           
  272.           3 Add the VShield options of your choice to the
  273.           command line.
  274.           
  275.            VShield Reference   Copyright 1994 McAfee Inc.     Page 6
  276.  
  277.           On your VirusScan disk, you'll findAUTOEXEC.VSH, a
  278.           sample AUTOEXEC.BAT that shows the correct
  279.           placement of the VShield command line. If you are
  280.           still not sure whether VShield is in the right
  281.           place, contact McAfee.
  282.           
  283.           WINDOWS
  284.           
  285.           When you install VShield, it adds the VShield
  286.           command line to your AUTOEXEC.BAT file. It also
  287.           modifies your WIN.INI file to include VSHWIN.EXE,
  288.           which allows VShield to display messages under
  289.           Windows. However, you may need to change your
  290.           Windows configuration for VShield to run properly.
  291.           
  292.           To do so, follow these steps. If you need help
  293.           with this procedure, see your Windows
  294.           documentation, or contact McAfee.
  295.           
  296.           1 Follow the instructions for DOS users in the
  297.           previous section.
  298.           
  299.           2 Start Windows.
  300.           
  301.           3 Make Program Manager the default shell. Use no
  302.           other Windows shell.
  303.           
  304.           4 In the Control Panel, configure Windows to run
  305.           in 386 enhanced mode.
  306.           
  307.           5 Load Windows. You will see the VShield icon on
  308.           your desktop.
  309.           
  310.           If VShield finds or suspects a virus, you'll see a
  311.           warning message. Choose OK to close the message
  312.           dialog.
  313.           
  314.           Double-clicking the VShield icon only displays a
  315.           message that VShield is loaded.
  316.           
  317.           OS/2
  318.           
  319.           Because OS/2 is a protected environment, you need
  320.           VShield only during Virtual DOS Machine (VDM) and
  321.           WIN-OS/2 sessions. When you install it, VShield is
  322.           automatically added to AUTOEXEC.BAT, so it is
  323.           activated every time you start a VDM or WIN-OS/2
  324.           session.
  325.           
  326.           If your start-up batch file is not AUTOEXEC.BAT,
  327.           edit your start-up batch file to include VShield.
  328.           For example:
  329.           
  330.            VShield Reference   Copyright 1994 McAfee Inc.     Page 7
  331.  
  332.              C:\vshield /fileaccess
  333.           
  334.           See /FILEACCESS, an option we recommend using with
  335.           OS/2, in this chapter.
  336.           
  337.           SPECIAL INSTRUCTIONS FOR NETWORK ADMINISTRATORS
  338.           
  339.           You have many options for setting up VShield on a
  340.           network. The table "Deciding which options are for
  341.           you" lists options that most apply in network
  342.           environments. If you need assistance in choosing
  343.           the best configuration for your network, contact
  344.           McAfee.
  345.           
  346.           If you run VShield from a network drive, flag
  347.           VSHIELD.EXE as EXECUTE ONLY, READ ONLY, and
  348.           SHAREABLE.
  349.           
  350.           If you run VShield from clients' local drives:
  351.           
  352.           * Edit all clients' AUTOEXEC.BAT files to load
  353.           VShield with the options that are appropriate for
  354.           your environment before any other drivers are
  355.           loaded.
  356.           
  357.           * Add VShield with the /RECONNECT option to the
  358.           AUTOEXEC.BAT or the network login script, after
  359.           the network drivers are loaded. See /RECONNECT,
  360.           later in this chapter, for more information.
  361.           
  362.           * Run CheckVshield from the login script. CheckVshield
  363.           returns a DOS ERRORLEVEL that you can use in batch
  364.           files to check and update VShield. For an example
  365.           of using CheckVshield, see Technical note 2, "Sample
  366.           NetWare login script and.BAT file," in this
  367.           chapter.
  368.           
  369.           VSHIELD OPTION SUMMARY
  370.           
  371.           /? or /HELP
  372.           
  373.           Display a list of valid VShield command line
  374.           options.
  375.           
  376.           /BOOT
  377.           
  378.           Check boot sectors for viruses when a program on a
  379.           diskette executes.
  380.           
  381.            VShield Reference   Copyright 1994 McAfee Inc.     Page 8
  382.  
  383.           /BOOTACCESS
  384.           
  385.           Scan the diskette boot sector for viruses whenever
  386.           a diskette is accessed, including any read and
  387.           write operations.
  388.           
  389.           /CERTIFY
  390.           
  391.           Prevent files without validation codes from
  392.           running.
  393.           
  394.           /CF {filename}
  395.           
  396.           Check for viruses using recovery and validation
  397.           data stored by Scan /AF in the specified filename.
  398.           
  399.           /CONTACT message
  400.           
  401.           Display specified message when a virus is found.
  402.           
  403.           /CONTACTFILE {filename}
  404.           
  405.           Display message stored in filename when a virus is
  406.           found.
  407.           
  408.           /CV [filename]
  409.           
  410.           Check validation codes added to files by Scan;
  411.           ignore files listed in filename.
  412.           
  413.           /EX {filename}
  414.           
  415.           Don't check files listed in filename for
  416.           validation codes (/CF and /CV options).
  417.           
  418.           /FILEACCESS
  419.           
  420.           Scan files when they are accessed on a diskette,
  421.           but don't check the boot sector.
  422.           
  423.           /IGNORE {drive(s)}
  424.           
  425.           Don't check programs loaded from the specified
  426.           drive(s).
  427.           
  428.           /LOCK
  429.           
  430.           Halt the system when a file that is infected or
  431.           not certified loads and attempts to execute.
  432.           
  433.           /NOEMS
  434.           
  435.           Prevent VShield from using expanded memory (EMS)
  436.            VShield Reference   Copyright 1994 McAfee Inc.     Page 9
  437.  
  438.           when it loads.
  439.           
  440.           /NOMEM
  441.           
  442.           Don't check memory for viruses.
  443.           
  444.           /NOREMOVE
  445.           
  446.           Prevent VShield from being removed from memory
  447.           with the
  448.           
  449.           /REMOVE switch.
  450.           
  451.           /NOUMB
  452.           
  453.           Prevent VShield from using upper memory blocks
  454.           (UMB) when it loads.
  455.           
  456.           /NOWARMBOOT
  457.           
  458.           Don't check the diskette boot sector for viruses
  459.           during warm boot ([Ctrl]+[Alt]+[Del]).
  460.           
  461.           /NOXMS
  462.           
  463.           Prevent VShield from using extended memory (XMS)
  464.           when it loads.
  465.           
  466.           /ONLY {drive(s)}
  467.           
  468.           Check programs loaded only from the specified
  469.           drive(s).
  470.           
  471.           /RECONNECT
  472.           
  473.           Restore VShield after certain drivers or TSRs
  474.           might have disabled it.
  475.           
  476.           /REMOVE
  477.           
  478.           Unload VShield from memory.
  479.           
  480.           /SAVE
  481.           
  482.           Save the command line options to the VSHIELD.INI
  483.           file.
  484.           
  485.           /SWAP [pathname]
  486.           
  487.           Load VShield kernel (7Kb) only; swap the rest to
  488.           pathname.
  489.            VShield Reference   Copyright 1994 McAfee Inc.     Page 10
  490.           
  491.           VSHIELD OPTION DESCRIPTIONS
  492.  
  493.           /? or /HELP
  494.           
  495.           Use this option to display a brief description of
  496.           valid VShield command line options.
  497.           
  498.           /BOOT
  499.           
  500.           Checks the boot sector of a diskette for viruses
  501.           whenever a program that resides on the diskette
  502.           executes. By default, VShield checks programs when
  503.           they execute, but does not check the boot sector
  504.           of the diskette for viruses. The /BOOT option is
  505.           faster, but less thorough, than /BOOTACCESS. Using
  506.           /BOOT with either /BOOTACCESS or /FILEACCESS in
  507.           the same command line returns an error message.
  508.           
  509.           This option does not work from within Windows File
  510.           Manager. For virus-checking within Windows, use
  511.           the /FILEACCESS or /BOOTACCESS switch
  512.           instead.
  513.           
  514.           /BOOTACCESS
  515.           
  516.           Checks the diskette boot sector for viruses
  517.           whenever a diskette is accessed by a read or write
  518.           operation, such as a DIR or COPY command, and when
  519.           a program on the diskette executes. This is the
  520.           highest level of protection against viruses that
  521.           infect boot sectors. Using /BOOTACCESS with either
  522.           /BOOT or /FILEACCESS in the same command line
  523.           returns an error message.
  524.           
  525.           /CERTIFY
  526.           
  527.           Prevents programs from running if they do not have
  528.           Scan validation codes. Use it in high-security
  529.           environments to prevent clients from running
  530.           programs that have not been scanned. To use
  531.           /CERTIFY, first run Scan with the /AF or /AV
  532.           option, as described in Chapter 3. Then, use
  533.           VShield with the /CERTIFY option and either the
  534.           /CF or /CV option (either is required), such as:
  535.           
  536.              vshield /certify /cf c:\mcafee\recvalch.sav
  537.           
  538.           Some programs, such as Lotus 1-2-3, contain self-
  539.           modifying code and do not work correctly with
  540.           validation codes attached. You may create an
  541.           exception list of files to exclude from
  542.           validation. For instructions, refer to technical
  543.           note 1, "Creating an exception list for /CERTIFY."
  544.            VShield Reference   Copyright 1994 McAfee Inc.     Page 11
  545.           
  546.           /CF {filename}
  547.  
  548.           Checks validation data stored by Scan's /AF
  549.           {filename} option, where {filename} is the name of
  550.           the validation data file created by Scan. If a
  551.           file or system area has changed, VShield reports
  552.           that a viral infection may have occurred. In this
  553.           example:
  554.           
  555.              vshield /cf c:\mcafee\recvalch.sav /noems
  556.           
  557.           VShield looks in the RECVALCH.SAV file for
  558.           validation data.
  559.           
  560.           /CONTACT message
  561.           
  562.           Displays a custom message when a virus is found.
  563.           This message is displayed in addition to all other
  564.           VShield messages. Use /CONTACT to let network
  565.           users know what to do if VShield finds a virus.
  566.           The message can be up to 50 characters long, and
  567.           can contain any character except a backslash " \
  568.           ". Place messages starting with a hyphen " - " or
  569.           slash " / " in quotation marks.
  570.           
  571.           If your message is longer than 50 characters or
  572.           you want to store the message text in a
  573.           file, use /CONTACTFILE instead. Using /CONTACT and
  574.           /CONTACTFILE in the same command line returns an
  575.           error message.
  576.           
  577.           /CONTACTFILE {filename}
  578.           
  579.           An alternative to the /CONTACT option,
  580.           /CONTACTFILE identifies a file that contains the
  581.           message string to display when a virus is found.
  582.           This option is especially useful in network
  583.           environments, because you can easily maintain the
  584.           message text in a central file rather than
  585.           changing the command line in the AUTOEXEC.BAT file
  586.           on each workstation.
  587.           
  588.           If your message is 50 characters or fewer, you can
  589.           use /CONTACT instead. Using /CONTACT and
  590.           /CONTACTFILE in the same command line returns an
  591.           error message.
  592.           
  593.           /CV
  594.           
  595.           Checks validation codes added by Scan with the /AV
  596.           option. If a file has changed, VShield reports
  597.           that the file has been modified and a viral
  598.           infection may have occurred. You can specify the
  599.            VShield Reference   Copyright 1994 McAfee Inc.     Page 12
  600.  
  601.           /EXCLUDE option to exclude a list of files from
  602.           validation checking.
  603.           
  604.           /EXCLUDE {filename}
  605.           
  606.           Excludes files listed in filename from validation
  607.           code checking when using /CF or /CV.
  608.           
  609.           /FILEACCESS
  610.           
  611.           Checks all files when accessed by a read or write
  612.           operation. Using /FILEACCESS with either /BOOT or
  613.           /BOOTACCESS in the same command line returns an
  614.           error message.
  615.           
  616.           We recommend always using /FILEACCESS with
  617.           OS/2.
  618.           
  619.           /IGNORE {drives}
  620.           
  621.           Omits checking program loads from the specified
  622.           drives, as shown in the following example:
  623.           
  624.              vshield /ignore t: y: w:
  625.           
  626.           Use /IGNORE or /ONLY to speed up VShield by
  627.           excluding secure, virus-free network drives from
  628.           virus checking. You can specify up to 26 drives.
  629.           See also /ONLY, described later in this section.
  630.           Using /IGNORE and /ONLY in the same command line
  631.           returns an error message.
  632.           
  633.           /LOCK
  634.           
  635.           Halts the system to stop further infection if
  636.           VShield finds a virus. /LOCK is appropriate in
  637.           highly vulnerable network environments, such as
  638.           open-use computer labs. If you use /LOCK, be sure
  639.           to use /CONTACT or /CONTACTFILE to tell users what
  640.           to do or whom to contact if a virus is found and
  641.           the system locks up.
  642.           
  643.           /NOEMS
  644.           
  645.           Prevents VShield from using expanded memory (LIM
  646.           EMS 3.2) when it loads. This ensures that EMS is
  647.           available exclusively to other programs.
  648.           
  649.           /NOMEM
  650.           
  651.           Skips the memory check for viruses when VShield
  652.           loads. Using /NOMEM improves performance slightly,
  653.           but use it only if you are absolutely sure that
  654.           your system is virus-free.
  655.            VShield Reference   Copyright 1994 McAfee Inc.     Page 13
  656.           
  657.           /NOREMOVE
  658.  
  659.           Prevents VShield from being removed from memory
  660.           with the /REMOVE option in a subsequent VShield
  661.           command. When you load VShield with the /NOREMOVE
  662.           option, subsequent loads with the /REMOVE option
  663.           will have not effect. Your network will be more
  664.           secure if users cannot remove VShield, but this
  665.           option may prevent users from solving memory
  666.           limitations or conflicts.
  667.           
  668.           /NOUMB
  669.           
  670.           Prevents VShield from using the upper memory block
  671.           (UMB, 640Kb to 1024Kb) when it loads. This ensures
  672.           that UMB is available exclusively to other
  673.           programs.
  674.           
  675.           /NOWARMBOOT
  676.           
  677.           Omits checking the diskette boot sector during a
  678.           warm boot (Ctrl-Alt-Del) of the system.
  679.           
  680.           /NOXMS
  681.           
  682.           Prevents VShield from using extended memory when
  683.           it loads. This ensures that XMS is available
  684.           exclusively to other programs.
  685.           
  686.           /ONLY {drive(s)}
  687.           
  688.           Checks program loads only from the specified
  689.           drive(s), ignoring all other drives, as shown in
  690.           the following example:
  691.           
  692.             vshield /only c: f: k:
  693.           
  694.           Use /IGNORE or /ONLY to speed up VShield by
  695.           excluding secure, virus-free network drives from
  696.           virus checking. You can specify up to 26 drives.
  697.           See also /IGNORE in this chapter. Using /ONLY and
  698.           /IGNORE in the same command line returns an error
  699.           message.
  700.           
  701.           /RECONNECT
  702.           
  703.           Restores VShield's links into DOS after another
  704.           program has disabled it, such as a network driver,
  705.           keyboard driver, custom disk driver, drive
  706.           compression program, or disk caching program.
  707.           These types of programs replace the normal DOS
  708.           system interrupts so that VShield no longer
  709.           recognizes program loads. After the lines in your
  710.            VShield Reference   Copyright 1994 McAfee Inc.     Page 14
  711.  
  712.           AUTOEXEC.BAT file (or network login script) that
  713.           load these programs, add this command line to
  714.           restore VShield:
  715.           
  716.              vshield /reconnect
  717.           
  718.           /REMOVE
  719.           
  720.           Unloads VShield from memory. You may want to do
  721.           this temporarily if you
  722.           
  723.           are running out of memory for programs. For best
  724.           results, try using VShield with
  725.           
  726.           the /SWAP option first. Use /REMOVE only as a last
  727.           resort.
  728.           
  729.           /REMOVE will not work if other memory-resident
  730.           programs were loaded after VShield, or if VShield
  731.           was loaded previously with the /NOREMOVE option.
  732.           
  733.           /SAVE
  734.           
  735.           Stores the VShield options you specify as the
  736.           defaults in VSHIELD.INI. In the following example,
  737.           /SAVE saves the /CONTACTFILE N:\MSGFILE as the
  738.           default setting:
  739.           
  740.              vshield /contactfile n:\personal\msgfile /save
  741.           
  742.           To remove custom options and return to VShield's
  743.           original defaults, use the /SAVE option alone:
  744.           
  745.              vshield /save
  746.           
  747.           /SWAP [pathname]
  748.           
  749.           Installs a small (7Kb) kernel of VShield in memory
  750.           that loads the rest of VShield from disk on
  751.           demand. Specify a pathname only if you want
  752.           VShield to swap to a path other than the directory
  753.           where VShield resides.
  754.           
  755.           Use /SWAP only if you have very little memory
  756.           available, but require a high assurance of safety.
  757.           /SWAP will slow down your system and may cause
  758.           conflicts with programs that fail to allocate
  759.           memory properly. If you don't have enough memory
  760.           to load VShield without swapping, consider using
  761.           VshieldCRC instead. We do not recommend storing the
  762.           swap file on a network path because, if the
  763.           workstation disconnects from the network, the
  764.           workstation will lock.
  765.           
  766.           Deciding which options are for you
  767.            VShield Reference   Copyright 1994 McAfee Inc.     Page 15
  768.  
  769.           Because systems and environments differ, VShield
  770.           gives you a choice of options. Consider the
  771.           mixture of safety, performance, and maintenance
  772.           that meets your needs, then choose the combination
  773.           of options that works best.
  774.           
  775.           COMMENTS
  776.           
  777.         MORE COMPLETE PROTECTION, ANY ENVIRONMENT
  778.           
  779.           /BOOTACCESS
  780.           
  781.           Highest protection against infected diskettes;
  782.           checks for viruses whenever a diskette is
  783.           accessed.
  784.           
  785.           /FILEACCESS
  786.           
  787.           Next highest protection against infected
  788.           diskettes; checks for viruses whenever a file on a
  789.           diskette is accessed.
  790.           
  791.           /BOOT
  792.           
  793.           Of the three, lowest protection against infected
  794.           diskettes; checks for viruses whenever a program
  795.           on a diskette executes.
  796.           
  797.         MORE COMPLETE PROTECTION, STABLE SOFTWARE
  798.         ENVIRONMENT
  799.           
  800.           /CERTIFY
  801.           
  802.           Use with /CF {filename} or /CV [filename] and an
  803.           exception list.
  804.           
  805.           /CF
  806.           
  807.           Use /CF or /CV. Of the two, /CF is recommended.
  808.           
  809.           /CV
  810.           
  811.           Use /CF or /CV.
  812.           
  813.         NETWORK ENVIRONMENTS
  814.           
  815.           /CONTACT
  816.           
  817.           Use this (or CONTACTFILE) to tell users what to do
  818.            VShield Reference   Copyright 1994 McAfee Inc.     Page 16
  819.  
  820.           when virus is found.
  821.           
  822.           /CONTACTFILE
  823.           
  824.           Use this (or CONTACT) to tell users what to do
  825.           when virus is found.
  826.           
  827.           /IGNORE
  828.           
  829.           Use this (or /ONLY) to skip virus-free drives.
  830.           
  831.           /LOCK
  832.           
  833.           Use with /CONTACT or /CONTACTFILE {filename}. For
  834.           high-risk -environments.
  835.           
  836.           /NOREMOVE
  837.           
  838.           Prevents VShield from being removed from memory.
  839.           
  840.           /ONLY
  841.           
  842.           Use this (or IGNORE) to check only vulnerable
  843.           drives.
  844.           
  845.           /RECONNECT
  846.           
  847.           Required if drivers are loaded after VShield.
  848.           
  849.         FASTER PERFORMANCE, ANY ENVIRONMENT
  850.           
  851.           /NOMEM
  852.           
  853.           Only use on a virus-free computer.
  854.           
  855.           /NOWARMBOOT
  856.           
  857.           Omits checking the boot sector after a warm boot.
  858.           
  859.           Manage memory, any environment
  860.           
  861.           /NOEMS
  862.           
  863.           Use when other programs need exclusive use of EMS
  864.           memory.
  865.           
  866.           /NOUMB
  867.            VShield Reference   Copyright 1994 McAfee Inc.     Page 17
  868.  
  869.           Use when other programs need exclusive use of UMB
  870.           memory.
  871.           
  872.           /REMOVE
  873.           
  874.           May temporarily solve memory conflicts.
  875.           
  876.           /NOREMOVE
  877.           
  878.           Use to ensure that VShield remains in memory.
  879.           
  880.           /NOXMS
  881.           
  882.           Use when other programs need exclusive use of XMS
  883.           memory.
  884.           
  885.           /SWAP
  886.           
  887.           Use in environments with very limited memory.
  888.           
  889.         EXAMPLES
  890.           
  891.           The following examples show different option
  892.           settings:
  893.           
  894.           vshield
  895.           
  896.              Activates VShield (Level II protection).
  897.           
  898.           vshield /cv
  899.           
  900.              Activates VShield (Level III protection), if you
  901.              have previously run SCAN /AV.
  902.           
  903.           vshield /certify /cf c:\valcodes.dat
  904.           
  905.              Activates VShield (Level IV protection) and checks
  906.              a recovery and validation data file created when
  907.              running Scan with the /AF option.
  908.           
  909.           vshield /swap
  910.           
  911.              Activates VShield kernel in memory and swaps from
  912.              the directory in which VShield resides.
  913.           
  914.           vshield /cv c:\excption.lst /contact "Please
  915.           Contact the PC Help Desk"
  916.           
  917.              Activates VShield (Level III protection), ignores
  918.              checking files in the EXCPTION.LST files, and
  919.              displays a message if a virus is found.
  920.            VShield Reference   Copyright 1994 McAfee Inc.     Page 18
  921.           
  922.           vshield /reconnect
  923.  
  924.              Re-enables VShield after it has been disconnected
  925.              by network device drivers.
  926.           
  927.           ERRORLEVELS
  928.           
  929.           When VShield loads, it sets the DOS ERRORLEVEL.
  930.           You can use the returned ERRORLEVEL in
  931.           AUTOEXEC.BAT or other batch files to take
  932.           different actions based on whether VShield has
  933.           loaded in memory. See your DOS manual for more
  934.           information.
  935.           
  936.           VShield returns these ERRORLEVELs:
  937.           
  938.           0 - VShield successfully loaded in memory with
  939.           all options operational.
  940.           
  941.           9 - VShield not loaded correctly. Abnormal
  942.           termination (program error).
  943.           
  944.           USING VSHLDCRC
  945.           
  946.           For Level I protection on systems with limited
  947.           memory, use VshieldCRC instead of VShield. VshieldCRC
  948.           is a separate program that consumes little system
  949.           overhead, but is not recommended for normal use
  950.           because it provides only minimal protection.
  951.           VshieldCRC can inform you that you have been
  952.           infected with a virus, but it does not check for
  953.           virus signatures nor does it prevent infection.
  954.           
  955.           To use VshieldCRC, first use Scan with the /AF or
  956.           /AV option. VshieldCRC checks the validation codes
  957.           added by Scan. It also checks the master boot
  958.           record (MBR) and boot sector validation codes, if
  959.           present. See Chapter 4, "VirusScan reference," for
  960.           instructions on using Scan.
  961.           
  962.           To load VshieldCRC with options, use the following
  963.           syntax:
  964.           
  965.              VshieldCRC [options]
  966.           
  967.           [options] include the options listed in the table
  968.           "VShield option summary." For more information on
  969.           all options except /LOGFILE, see "VShield option
  970.           descriptions" in this chapter.
  971.           
  972.  
  973.            VShield Reference   Copyright 1994 McAfee Inc.     Page 19          
  974.  
  975.           EXAMPLES
  976.           
  977.           Activates VshieldCRC (Level I protection).
  978.           
  979.              VshieldCRC /cf valcodes.dat
  980.           
  981.           Activates VshieldCRC and checks validation data
  982.           stored in VALCODES.DAT, a file that was created
  983.           using Scan with the /AF option.
  984.           
  985.           VSHLDCRC OPTION SUMMARY
  986.           
  987.           /? or /HELP
  988.           
  989.           Display a list of valid VshieldCRC command line
  990.           options.
  991.           
  992.           /CERTIFY
  993.           
  994.           Prevent files without validation codes from
  995.           running.
  996.           
  997.           /CF {filename}
  998.           
  999.           Check for viruses using recovery and validation
  1000.           data stored by Scan /AF in the specified filename.
  1001.           
  1002.           /CONTACT message
  1003.           
  1004.           Display specified message when a virus is found.
  1005.           
  1006.           /CONTACTFILE {filename}
  1007.           
  1008.           Display message stored in specified filename when
  1009.           a virus is found.
  1010.           
  1011.           /CV
  1012.           
  1013.           Check validation codes added to files by Scan.
  1014.           
  1015.           /EX {filename}
  1016.           
  1017.           Don't check files listed in filename for
  1018.           validation codes (used with /CF and /CV options).
  1019.           
  1020.           
  1021.           
  1022.            VShield Reference   Copyright 1994 McAfee Inc.     Page 20
  1023.           
  1024.           /FILEACCESS
  1025.           
  1026.           Don't check the diskette boot sector for viruses
  1027.           when a file on the diskette is accessed, including
  1028.           read and write operations; still checks files for
  1029.           validation codes.
  1030.           
  1031.           /IGNORE {drive(s)}
  1032.           
  1033.           Don't check programs loaded from specified
  1034.           drive(s).
  1035.           
  1036.           /LOCK
  1037.           
  1038.           Halt the system when a file that is not certified
  1039.           attempts to load and execute.
  1040.           
  1041.           /LOGFILE {filename}
  1042.           
  1043.           Write error information to filename.
  1044.           
  1045.           /NOREMOVE
  1046.           
  1047.           Prevent VshieldCRC from being removed from memory
  1048.           with a subsequent VshieldCRC command using /REMOVE.
  1049.           
  1050.           /NOUMB
  1051.           
  1052.           /ONLY {drive(s)}
  1053.           
  1054.           Check programs loaded only from the specified
  1055.           drive(s).
  1056.           
  1057.           /REMOVE
  1058.           
  1059.           Unload VshldCRC From memory.
  1060.           
  1061.           USING CHKVSHLD
  1062.           
  1063.           CheckVshield allows network administrators to make sure
  1064.           that workstations are running VShield or VshieldCRC
  1065.           before users can log onto a network. See technical
  1066.           note 2 in this chapter for a sample Novell NetWare
  1067.           login script using CheckVshield.
  1068.           
  1069.            To load CheckVshield with options, use the following
  1070.           syntax:
  1071.           
  1072.           chkvshld [option(s)]
  1073.           
  1074.           [option(s)] include:
  1075.           
  1076.           /? and /HELP Display a list of valid CheckVshield
  1077.            VShield Reference   Copyright 1994 McAfee Inc.     Page 21
  1078.           
  1079.           command line options.
  1080.           
  1081.           /DEBUG  Displays the version of VShield or
  1082.           VshieldCRC resident in memory and the DOS ERRORLEVEL
  1083.           on the screen.
  1084.           
  1085.           /Q Suppresses CheckVshield messages (quiet mode) so
  1086.           users don't see the messages.
  1087.           
  1088.           /V xxxxx Tells CheckVshield to look for a specific
  1089.           version (2.00 or higher) of VShield or VshieldCRC in
  1090.           memory. For example, /v 2.00 for VShield 2.00.
  1091.           
  1092.           Examples
  1093.           
  1094.              chkvshld /q
  1095.           
  1096.           Checks for VShield or VshieldCRC in memory and
  1097.           suppresses messages.
  1098.           
  1099.           ERRORLEVELS
  1100.           
  1101.           When CheckVshield runs, it sets the DOS ERRORLEVEL.
  1102.           Use the ERRORLEVEL in batch files to take
  1103.           different actions based on the results of
  1104.           CheckVshield's check. The ERRORLEVELs returned by
  1105.           CheckVshield are:
  1106.           
  1107.           0 - VShield or VshieldCRC is resident or, if /V is
  1108.           used, the version specified is resident in memory.
  1109.           
  1110.           1 - VShield or VshieldCRC is resident but does not
  1111.           match the version specified in the /V option.
  1112.           
  1113.           2 - VShield or VshieldCRC is not resident in memory.
  1114.           
  1115.           3 - Abnormal termination (program error).
  1116.           
  1117.           TECHNICAL NOTE 1
  1118.           
  1119.           CREATING AN EXCEPTION LIST FOR /CERTIFY AND /CV
  1120.           
  1121.           VShield /CERTIFY permits a file to load only if:
  1122.           
  1123.           * It has been validated by Scan, or
  1124.           
  1125.           * It appears in the exception list file specified
  1126.           with the /CV option.
  1127.           
  1128.            VShield Reference   Copyright 1994 McAfee Inc.     Page 22
  1129.           
  1130.           If you do not validate any files and do not use an
  1131.           exception list, /CERTIFY will disable all programs
  1132.           other than DOS internal commands.
  1133.           
  1134.           The exception list file is an ASCII or DOS text
  1135.           file containing up to 1,024 characters. If you use
  1136.           a word processor to create it, be sure to save the
  1137.           file as ASCII or DOS Text. Each uncommented line
  1138.           in the file contains the path and filename of one
  1139.           file that should not be validated. To enter a
  1140.           comment, start the line with an asterisk (*). Here
  1141.           is an example:
  1142.           
  1143.           *
  1144.           *LIST OF FILES TO EXCLUDE FROM /CV VALIDATION
  1145.           *
  1146.           *Nantucket Corp's database program, Clipper
  1147.           C:\CLIPPER\BIN\CLIPPER.EXE
  1148.           *Lotus Development Corp's spreadsheet program, 1-2-3
  1149.           C:\123\123.COM
  1150.           *Microsoft's database program, FoxPro
  1151.           C:\FOX\FOXPROLX.EXE
  1152.           *MS-DOS 5.0 and above self-modifying program, SETVER
  1153.           C:\DOS\SETVER.EXE
  1154.           *PKWare's data compression programs already perform
  1155.           *a self-check
  1156.           C:\PKWARE\PKLITE.EXE
  1157.           C:\PKWARE\PKZIP.EXE
  1158.           C:\PKWARE\PKUNZIP.EXE
  1159.           *SemWare's QEdit text editor
  1160.           C:\SEMWARE\Q.EXE
  1161.           *Stac Technologies hard disk swapping program
  1162.           C:\SWAPVOL.COM
  1163.           *Symantec's Norton Utilities V6.01 disk caching program
  1164.           C:\NORTON\NCACHE.EXE
  1165.           *WordStar Corp's word processor is self-modifying
  1166.           C:\WORDSTAR\WS.EXE
  1167.  
  1168.            VShield Reference   Copyright 1994 McAfee Inc.     Page 23
  1169.           
  1170.           TECHNICAL NOTE 2
  1171.           
  1172.           SAMPLE NETWARE LOGIN SCRIPT AND .BAT FILE
  1173.           
  1174.           Here is a sample system login script for use by
  1175.           Novell NetWare system administrators. The login
  1176.           script gets the ERRORLEVEL from CheckVshield and
  1177.           displays messages on the user's screen. If VShield
  1178.           is not loaded correctly, there is an internal
  1179.           error with CHKVSHLD, either VShield or VshieldCRC is
  1180.           not installed, or an older version of VShield is
  1181.           present, the script exits the user to a
  1182.           NOLOGIN.BAT file that logs him or her out.
  1183.           
  1184.           #REM REPLACE "XXX" WITH CURRENT VERSION NUMBER
  1185.           CHKVSHLD /V "5.4VXXX"
  1186.           IF ERROR_LEVEL = "3" THEN
  1187.             FIRE PHASERS 5 TIMES
  1188.             WRITE "A CHKVSHLD internal error has occurred."
  1189.             WRITE "Please contact the Help Desk."
  1190.             #COMMAND /C NOLOGIN.BAT
  1191.             EXIT
  1192.           ELSE
  1193.             IF ERROR_LEVEL = "2" THEN
  1194.               FIRE PHASERS 5 TIMES
  1195.               WRITE "VShield has not been installed on your PC."
  1196.               WRITE "Access Denied. Please contact the Help Desk."
  1197.               #COMMAND /C NOLOGIN.BAT
  1198.               EXIT
  1199.             ELSE
  1200.               IF ERROR_LEVEL = "1" THEN
  1201.                 FIRE PHASERS 5 TIMES
  1202.                 WRITE "An old version of VShield has been installed."
  1203.                 WRITE "Access to the network has been denied. Please"
  1204.                 WRITE "contact the Help Desk to have a new version."
  1205.                 WRITE "installed."
  1206.                 #COMMAND /C NOLOGIN.BAT
  1207.                 EXIT
  1208.               END
  1209.             END
  1210.           END
  1211.            VShield Reference   Copyright 1994 McAfee Inc.     Page 24
  1212.           
  1213.           You can create more complex login scripts to send
  1214.           a message to the supervisor if an error has
  1215.           occurred, update the user's VSHIELD.EXE as he or
  1216.           she logs in to the network, and so forth.
  1217.           
  1218.           Here is a sample of the NOLOGIN.BAT file called by
  1219.           the login script.
  1220.           
  1221.           ECHO OFF
  1222.           REM Log the user off of the network
  1223.           LOGOUT
  1224.           
  1225.           <<end of text file>>
  1226.           
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.